#include "stdio.h"
#include "wnd_base.h"
#include "button.h"
#include "editbox.h"

void main()
{
	button *bt;
	editbox *eb;
	bt = new_obj(button);
	eb = new_obj(editbox);
	
	printf("sizeof(wnd_base=%d)\r\n",((wnd_base*)bt)->x);
	printf("sizeof(void*)=%d\r\n",sizeof(bt));
	printf("OK");
}